﻿Public Class ViewGuide_mobile
    Inherits System.Web.UI.Page

    Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
        If Request.Params("GuideCreator") = "" Then
            Response.Redirect("~/Default.aspx")
        End If
        myHeading.InnerHtml = Request.Params("GuideCreator") + "'s Reading Guide"
    End Sub

    Protected Sub SqlDataSource2_Selected(sender As Object, e As System.Web.UI.WebControls.SqlDataSourceStatusEventArgs) Handles SqlDataSource2.Selected
        'If datasource is empty
        If (e.AffectedRows < 1) Then
            myHeading.InnerHtml = "No Guide found"
        End If
        
    End Sub
    
End Class